import React from 'react';
import { BrowserRouter as Router } from 'react-router-dom'
import { routes, routerBefore } from "@/router/router"
import RouterView from './router';
function App() {
  return (
    <>
      <Router>
        <RouterView routes={routes} onRouterBefore={routerBefore}></RouterView>
      </Router>
    </>
  )
}

export default App;
